package org.colcon.web.model.framework;

import java.util.List;

public interface IContainer extends IItem 
{
	public IItem getChild(String id);
	public boolean hasChild(String id);
	public boolean removeChild(String id);
	
	public boolean has(String path);
	public boolean has(String parent, String id);
	
	public IItem get(String path);
	public IItem get(String parent, String id);
	
	public boolean add(IItem item);
	public boolean add(String parent, IItem item);
	
	public boolean remove(String path);
	public boolean remove(String parent, String id);
	
	public boolean addContainer(String id);
	
	public List<IItem> getChildren();
	public List<IItem> getGrandChildren(String child);
}
